﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace ActionPluginAPI
{
    public abstract class AbstractActionConfigPanel:UserControl 
    {
        public AbstractActionConfigPanel(IActionParameters parameters)
        {
            this.DataContext = parameters;
            UserControl uc = this.CreatePanel();
            this.Content = uc;
        }

        abstract public UserControl CreatePanel();
    }
}
